@import "variable";

.header{
  position: relative;
  overflow: hidden;
  .line-height(32px);
  border-bottom: 1px solid #e5e5e5;
  .header-opt{
    font-size: 12px;
    >p{
      float: left;
    }
    .opt-line{
      margin: 0 15px;
      color: #E5E5E5;
    }
  }
}

.nav{
  position: relative;
  .nav-box{
    height: 107px;
    .nav-logo{
      height: 100%;
      img{
        display: block;
        margin-top: 42px;
      }
    }
    .nav-nav{
      li{
        position: relative;
        float: left;
        height: 107px;
        padding: 0 25px;
        font-size: 19px;
        color: #212121;
        >a{
          position: relative;
          display: block;
          line-height: 107px;
          &:after{
            content: '';
            display: block;
            position: absolute;
            width: 110%;
            bottom:0;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            border-bottom: 3px solid @blue;
            border-left: 3px solid transparent;
            border-right: 3px solid transparent;
            transition: .2s;
          }
        }
        &:before{
          content: '';
          display: block;
          position: absolute;
          width: 1px;
          height: 15px;
          background-color: #E5E5E5;
          right: 0;
          top: 46px;
        }
        &:hover {
          >a:after{
            transform: translateX(-50%) scaleX(1);
          }
        }
      }
      li:last-child{
        padding-right: 0;
        &:before{
          display: none;
        }
      }
    }
  }
}

.banner{
  background-color: #3174cb;
  overflow: hidden;
  .banner-box{
    position: relative;
    height: 308px;
    .banner-lizi{
      background: url("../images/banner-lizi.png");
      width: 755px;
      height: 472px;
      position: absolute;
      right:0;
      top: -90px;
    }
    .banner-left{
      background: url("../images/banner-left.png");
      width: 29px;
      height: 133px;
      position: absolute;
      bottom:0;
      left: 0;
    }
    .banner-tip{
      position: absolute;
      left: 0;
      top: 130px;
      font-size: 26px;
      color: #39d4a3;
    }
    .banner-text{
      position: absolute;
      left: 36px;
      top: 176px;
      color: #b4cae7;
      font-size: 19px;
      font-family: "Microsoft YaHei UI", "Helvetica Neue", Arial, Helvetica, sans-serif;
    }
  }
}

.footer{
  width: 100%;
  text-align: center;
  font-size: 12px;
  height: 74px;
  padding-top: 28px;
  background-color: #eee;
  .footer-badge{
    .vertical;
    background: url("../images/badge.png");
    width: 19px;
    height: 20px;
    margin: 0 5px 0 15px;
  }
  span{
    vertical-align: middle;
  }
}

.com-tab-btns{
  position: absolute;
  top: -36px;
  left: 100px;
  > div{
    float: left;
    width: 104px;
    line-height: 36px;
    text-align: center;
  }
  .this-btn{
    background-color: @blue;
    color: #fff;
  }
}
.com-tab-contents{
  .tab-content{
    position: relative;
    display: none;
    .index-table{
      padding-top: 10px;
      padding-bottom: 20px;
      tbody{
        tr:nth-child(2n+1){
          background-color: #eee;
        }
      }
    }
  }
}

.page-box{
  position: relative;
  .page-left{
    width: 200px;
    ul{
      li{
        position: relative;
        font-size: 19px;
        //font-weight: 600;
        line-height: 65px;
        a{
          display: block;
          padding-left: 40px;
        }
      }
      li.on{
        color: @blue;
        &:before{
          content: '';
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          width: 6px;
          height: 100%;
          border-radius: 3px;
          background-color: @blue;
        }
      }
    }
  }
  .page-right{
    width: 950px;
    .com-title{
      font-size: 21px;
      line-height: 65px;
    }
    .dynamics-list{
      width: 100%;
      padding: 30px 0;
      li{
        a{
          width: 680px;
        }
      }
    }
  }
}

.com-title{
  border-bottom: 2px solid #E5E5E5;
  .com-tab-btns{
    position: relative;
    top:0;
    left:0;
    margin-bottom: 12px;
    > div{
      width: auto;
      font-size: 16px;
      padding: 0 15px;
      line-height: 32px;
      border-radius: 4px;
      text-align: center;
    }
    .this-btn{
      background-color: @blue;
      color: #fff;
    }
  }
}

.com-page{
  >span{
    display: inline-block;
    line-height: 35px;
    border: 1px solid #E5E5E5;
    padding: 0 10px;
    font-size: 12px;
    user-select: none;
    margin-right: 4px;
    >input{
      width: 50px;
      border: 1px solid #E5E5E5;
      color: @blue;
      padding:0 2px;
      margin: 0 2px;
    }
  }
  .pointer{
    cursor: pointer;
  }
  .goto-page{
    background-color: @blue;
    color: #fff;
    border: none;
  }
}

//底部
.index-footer{
  //position: absolute;
  //bottom:0;
  //left: 0;
  width: 100%;
  //height: 200px;
  text-align: center;
  background-color: #ececee;
  padding: 10px 0;
  //color: #fff;
  line-height: 2;
  h6{
    font-size: 16px;
  }
  p{
    span{
      margin: 0 8px;
    }
  }
}